package com.cykj.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SeckillRecordsDO {

  private Long recordId;      // 秒杀记录id
  private Long userId;        // 用户id
  private Long productId;     // 商品id
  private String attemptTime; // 尝试时间 --> 用户尝试秒杀时间
  private Integer status;     // 状态 0:失败,1:成功,2:已取消
  private Long orderId;       // 订单id
  private String createdAt;   // 创建时间

}
